/*
 * dma_from_device.h
 *
 *  Created on: 2018年12月8日
 *      Author: root
 */

#ifndef DMA_FROM_DEVICE_H_
#define DMA_FROM_DEVICE_H_

int read_dma(int fpga,unsigned int address,unsigned int size,void *dstaddr);

int write_dma(int fpga, unsigned int address, unsigned int size, void* srcaddr);

#endif /* DMA_FROM_DEVICE_H_ */
